<?php
/**
 * 独家相关控制器继承基类
 */
namespace haibao\cms\business\control\pc\channel\exclusive;
use haibao\cms\model\data\FeaturePublish as FeatureModel;
class ExclusiveController extends \haibao\cms\business\control\pc\channel\ChannelController{
	
	const FEATURE_TYPE = 1;
	const VIDEO_TYPE = 2;
	const DEFAULT_LIST_PAGE_NUM = 5;
	const INFO_TYPE_FEATURE = 3;
	const INFO_TYPE_VIDEO = 4;
	
	private static $_instance;
	public $videoId = 0;
	public function __construct($updateTime='',$controlId='',$isPublish=''){
		parent::__construct($updateTime,$controlId,$isPublish);
	}
	public function __clone(){
	}
	
	public static function getExclusiveInstance(){
		if(!(self::$_instance instanceof self)){
			self::$_instance = new self;
		}
		return self::$_instance;
	}
	public static function getFeatureCategorys(){
		return array(
    			FeatureModel::CLASS_FASHION=>array('Id'=>FeatureModel::CLASS_FASHION,'CategoryName'=>'潮流'),
    			FeatureModel::CLASS_PAINT=>array('Id'=>FeatureModel::CLASS_PAINT,'CategoryName'=>'美妆'),
    			FeatureModel::CLASS_STAR=>array('Id'=>FeatureModel::CLASS_STAR,'CategoryName'=>'明星'),
    			FeatureModel::CLASS_FASHION_WEEK=>array('Id'=>FeatureModel::CLASS_FASHION_WEEK,'CategoryName'=>'时装周'),
    			FeatureModel::CLASS_BRAND=>array('Id'=>FeatureModel::CLASS_BRAND,'CategoryName'=>'品牌'),
    			FeatureModel::CLASS_ZHIBO=>array('Id'=>FeatureModel::CLASS_ZHIBO,'CategoryName'=>'秀场直播'),
    			FeatureModel::CLASS_BRAND_DINGZHI=>array('Id'=>FeatureModel::CLASS_BRAND_DINGZHI,'CategoryName'=>'品牌定制')
		);
	}
}

